using System;
using System.Collections.Generic;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public class Pos_SalesReturnDetailManager
{
	public Pos_SalesReturnDetailManager()
	{
	}

    public static List<Pos_SalesReturnDetail> GetAllPos_SalesReturnDetails()
    {
        List<Pos_SalesReturnDetail> pos_SalesReturnDetails = new List<Pos_SalesReturnDetail>();
        SqlPos_SalesReturnDetailProvider sqlPos_SalesReturnDetailProvider = new SqlPos_SalesReturnDetailProvider();
        pos_SalesReturnDetails = sqlPos_SalesReturnDetailProvider.GetAllPos_SalesReturnDetails();
        return pos_SalesReturnDetails;
    }


    public static Pos_SalesReturnDetail GetPos_SalesReturnDetailByID(int id)
    {
        Pos_SalesReturnDetail pos_SalesReturnDetail = new Pos_SalesReturnDetail();
        SqlPos_SalesReturnDetailProvider sqlPos_SalesReturnDetailProvider = new SqlPos_SalesReturnDetailProvider();
        pos_SalesReturnDetail = sqlPos_SalesReturnDetailProvider.GetPos_SalesReturnDetailByID(id);
        return pos_SalesReturnDetail;
    }


    public static int InsertPos_SalesReturnDetail(Pos_SalesReturnDetail pos_SalesReturnDetail)
    {
        SqlPos_SalesReturnDetailProvider sqlPos_SalesReturnDetailProvider = new SqlPos_SalesReturnDetailProvider();
        return sqlPos_SalesReturnDetailProvider.InsertPos_SalesReturnDetail(pos_SalesReturnDetail);
    }


    public static bool UpdatePos_SalesReturnDetail(Pos_SalesReturnDetail pos_SalesReturnDetail)
    {
        SqlPos_SalesReturnDetailProvider sqlPos_SalesReturnDetailProvider = new SqlPos_SalesReturnDetailProvider();
        return sqlPos_SalesReturnDetailProvider.UpdatePos_SalesReturnDetail(pos_SalesReturnDetail);
    }

    public static bool DeletePos_SalesReturnDetail(int pos_SalesReturnDetailID)
    {
        SqlPos_SalesReturnDetailProvider sqlPos_SalesReturnDetailProvider = new SqlPos_SalesReturnDetailProvider();
        return sqlPos_SalesReturnDetailProvider.DeletePos_SalesReturnDetail(pos_SalesReturnDetailID);
    }
}
